package me.aurora.service;

import me.aurora.domain.Role;
import me.aurora.domain.User;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author 郑杰
 * @date 2018/08/23 17:26:33
 */
public interface RoleService {

    /**
     * 构建Role tree
     * @param roles
     * @return
     */
    List<Map<String, Object>> buildRoleTree(List<Role> roles);

    /**
     * 查询所有角色
     * @return
     */
    List<Role> getAllRole();
}
